/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "upper_machine",TableName = "upper_machine")]
    public partial class upper_machine:BaseEntity
    {
        /// <summary>
       ///upper_machine
       /// </summary>
       [Key]
       [Display(Name ="upper_machine")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="name")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string name { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="latheSpec")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string latheSpec { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="machine_type")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string machine_type { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="process_type")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string process_type { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="tool_height")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? tool_height { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="g54_supplement")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal g54_supplement { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="process_precision")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string process_precision { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="itinerary_x")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? itinerary_x { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="itinerary_y")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? itinerary_y { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="itinerary_z")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? itinerary_z { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="basic_x")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal basic_x { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="basic_y")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal basic_y { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="basic_z")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal basic_z { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="change_tool_x")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? change_tool_x { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="change_tool_y")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? change_tool_y { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="change_tool_z")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? change_tool_z { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="feed_x")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? feed_x { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="feed_y")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? feed_y { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="feed_z")]
       [DisplayFormat(DataFormatString="18,3")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? feed_z { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="unit")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? unit { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="host")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string host { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="port")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? port { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="nc_type")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string nc_type { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="nc_card_no")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string nc_card_no { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="use_status")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? use_status { get; set; }

       
    }
}